package com.zm.service.impl;

import com.zm.dao.DataDictionaryMapper;
import com.zm.pojo.DataDictionary;
import com.zm.service.DataDictionaryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**数据字典业务实现类
 * Created by Administrator on 2018/9/15.
 */
@Service
public class DataDictionaryServiceImpl implements DataDictionaryService {
    @Resource
    private DataDictionaryMapper mapper;

    /**
     * 查询AppInfo中作显示用
     *
     * @return
     */
    @Override
    public List<DataDictionary> seleletByStatus(String typecode) {
        return mapper.selectByStatus(typecode);
    }
}
